package cn.mumzone.pos.presenter.contract;

import java.util.List;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.RepoListGoodsEntity;
import cn.mumzone.pos.model.RepositoryEntity;

/**
 * Created by qiuzhenhuan on 2019/7/31.
 */

public interface StockInContract {

    interface View extends BaseView {

        void showRepositoryList(List<RepositoryEntity> repositoryList);

        void showScanGoodsDialog(List<RepoListGoodsEntity> goodsEntities);

        void onGoodsAdded(List<RepoListGoodsEntity> entity);

        void onBillGenerated();

        void onBackPressed(int type);

    }

    interface Presenter extends BasePresenter<View> {

        void loadRepositoryList();

        void loadRepoGoodsById(String repositoryId, String keyword, String type);

        void generateInBill(String warehouseId, String inType, String remark, String goodsJson);

    }
}
